package com.study.zouchao.superproject.comtaskdetail.model;

/**
 * Created by Administrator on 2017/6/26.
 */

public class IsEnrolledResult {

    /**
     * data : {"taskId":20,"userName":"zouchao","taskStatus":1,"isEnrolled":false}
     * message : 查询成功，任务未报名
     * code : 28104
     */

    private DataBean data;
    private String message;
    private int code;

    public DataBean getData() {
        return data;
    }

    public void setData(DataBean data) {
        this.data = data;
    }

    public String getMessage() {
        return message;
    }

    public void setMessage(String message) {
        this.message = message;
    }

    public int getCode() {
        return code;
    }

    public void setCode(int code) {
        this.code = code;
    }

    public static class DataBean {
        /**
         * taskId : 20
         * userName : zouchao
         * taskStatus : 1
         * isEnrolled : false
         */

        private int taskId;
        private String userName;
        private int taskStatus;
        private boolean isEnrolled;

        public int getTaskId() {
            return taskId;
        }

        public void setTaskId(int taskId) {
            this.taskId = taskId;
        }

        public String getUserName() {
            return userName;
        }

        public void setUserName(String userName) {
            this.userName = userName;
        }

        public int getTaskStatus() {
            return taskStatus;
        }

        public void setTaskStatus(int taskStatus) {
            this.taskStatus = taskStatus;
        }

        public boolean isIsEnrolled() {
            return isEnrolled;
        }

        public void setIsEnrolled(boolean isEnrolled) {
            this.isEnrolled = isEnrolled;
        }
    }
}
